GetTemplate
Description
call the GetTemplate interface to query template details.
Request Method
POST
Request Path
/apsara/route/ROS/GetTemplate
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
ChangeSetId | BODY | string | No | 1f6521a4-05af-4975-afe9-bc4b45ad**** | change set ID. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
RegionId | BODY | string | Yes | cn-hangzhou | the region ID of the resource stack to which the template belongs. |
version | BODY | string | No | 2016-01-01 | version of api |
TemplateId | BODY | string | No | 5ecd1e10-b0e9-4389-a565-e4c15efc**** | template ID. |
StackId | BODY | string | No | 4a6c9851-3b0f-4f5f-b4ca-a14bf691**** | resource stack ID. |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestID | string | 1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC | Request id |
Example
Successful Response example
{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}